ostree-sysroot-deploy.c: delete redundant check
authorJonathan Lebon <jlebon@redhat.com>
Thu, 13 Oct 2016 16:05:54 +0000 (12:05 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 14 Oct 2016 16:06:08 +0000 (16:06 +0000)
commita0598cb494cb3b266c28696470eab7be6d29b3ed
tree403bb4c155526531b9b656bc753ce076be792961
parent3943284dadc9734cdc14b8ac7c1de0e4e253c913
ostree-sysroot-deploy.c: delete redundant check

Just noticed this while inspecting the code. The deployments retrieved
by `_ostree_sysroot_list_deployment_dirs_for_os` will forcibly already
have a matching osname since it indirectly uses that same variable to
construct them. Having a check there makes it look like there may be
subtle corner cases, when there aren't.

Closes: #529
Approved by: cgwalters
src/libostree/ostree-sysroot-deploy.c